package com.jcxy.service;

import com.jcxy.pojo.Attendance;
import com.jcxy.util.PageBean;

import java.util.Map;

public interface AttendanceService extends BaseService{

    /**
     * 插入考勤信息
     * @param attendance
     * @throws Exception
     */
    void insertAttendance(Attendance attendance) throws Exception;

    @Override
    PageBean queryListByPage(Map dto, Integer page, Integer limit);

    /**
     * 修改考勤
     * @param dto
     * @return
     * @throws Exception
     */
    int updateAttendance(Map dto) throws Exception;

    /**
     * 删除考勤
     * @param attendance_id
     * @return
     * @throws Exception
     */
    int deleteAttendance(Integer attendance_id) throws Exception;
}
